projects
/
project
/
ubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27839f8
)
ubusd: treat EACCES on write like EAGAIN
author
Felix Fietkau
<
[email protected]
>
Tue, 1 Jul 2025 18:31:35 +0000
(20:31 +0200)
committer
Felix Fietkau
<
[email protected]
>
Tue, 1 Jul 2025 18:31:36 +0000
(20:31 +0200)
Apparently it can happen if the write buffer is full. Do not cut the connection
in that case.
Signed-off-by: Felix Fietkau <
[email protected]
>
ubusd_main.c
patch
|
blob
|
history
diff --git
a/ubusd_main.c
b/ubusd_main.c
index adbd2932be3d22a1317ca8a33be50fb30662f7cd..46066f457bc4780368f5b11a0bfc9355c99f162e 100644
(file)
--- a/
ubusd_main.c
+++ b/
ubusd_main.c
@@
-88,6
+88,7
@@
static void client_cb(struct uloop_fd *sock, unsigned int events)
switch(errno) {
case EINTR:
case EAGAIN:
+ case EACCES:
break;
default:
goto disconnect;